package com.chengwt.dao.impl;

import com.chengwt.dao.AdminDao;
import com.chengwt.entity.Admin;

public class AdminTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		AdminDao ad =new AdminDaoImpl();
		
		Admin a = new Admin();
		a.setAdminName("HIHI");
		a.setAdminId(10);
		
		ad.saveAdmin(a);
		/*ad.deleteAdmin(1);*/
	}

}
